
.clearfix::after{
  display: block;
  content: '';
  clear: both;
}

.main{
  width: 1200px;
  margin: 0 auto;
  .main-nav {
    height: 361px;
    p {
      color: #969696;
      height: 66px;
      line-height: 70px;
      font-size: 16px;
      padding-left: 26px;
      background: url("../img/home.png") no-repeat 4px center;
      a {
        color: #969696;
        &:hover {
          color: red;
        }
      }
    }
    .img-show {
      display: block;
      img {
        width: 100%;
        height: 295px;
      }
    }
  }

  .main-content {
    margin-top: 22px;
    height: 1562px;
    .container {
      box-shadow: 0 0 2px 1px #f6f6f6;
      border-radius: 8px;
      width: 828px;
      float: left;
      background: #fff;
      ul {
        .topic {
          height: 128px;
          margin: 0 12px 0 15px;
          padding: 24px 0 18px 0;
          .topic-show {
            float: left;
            border: 1px solid #fff;
            img {
              height: 126px;
              width:252px;
            }
          }
          .introduce {
            float: left;
            width: 528px;
            margin-left: 18px;
            h5 {
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              font-size: 20px;
              line-height: 30px;
              a:hover{
                text-decoration: underline;
                color: #ff9500;
              }
            }
            p {
              line-height: 20px;
              font-size: 12px;
              margin-top: 8px;
              overflow: hidden;
              color: #808080;
            }
            .text {
              height: 60px;
              text-indent: 24px;
            }
          }
        }
        .topic+.topic {
          border-top: 1px dashed #ddd;
        }
      }
      .page {
        margin: 0 12px 0 15px;
        padding-top: 10px;
        border-top: 1px dashed #ddd;
        text-align: center;
      }
    }

    .aside {
      float: right;
      width: 350px;
      background: #fff;
      height: 100%;
      .title {
        padding-top: 6px;
        height: 50px;
        line-height: 50px;
        padding-left: 42px;
        font-size: 26px;
        color: #676767;
        border-bottom: 3px solid #ff9500;
        a {
          float: right;
          font-size: 12px;
          margin-right:8px;
          cursor: pointer;
          &:hover {
            color: red;
          }
        }
      }
      .hot-topic {
        height: 1022px;
        padding-left: 18px;
        border-radius: 8px;
        box-shadow: 0 0 2px 1px #f6f6f6;
        .title{
          background: url("../img/topic.png") no-repeat 0 14px;
        }
        .item {
          position: relative;
          margin-right: 20px;
          cursor: pointer;
          .item-show {
            display:block;
            margin-top: 12px;
            overflow: hidden;
            img {
              width: 312px;
              height: 146px;
              transition: all 0.5s ease;
            }
          }
          p {
            width: 100%;
            position: absolute;
            font-size: 14px;
            color: #fff;
            bottom: 0;
            line-height: 50px;
            height: 50px;
            text-align: center;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            z-index: 99;
            background: url("../img/opacity.png");
          }
        }
      }
      .hot-game {
        margin-top: 10px;
        height: 530px;
        padding-left: 18px;
        border-radius: 8px;
        box-shadow: 0 0 2px 1px #f6f6f6;
        .title {
          background: url("../img/game-hot.png") no-repeat 0 14px;
        }
        dd {
          padding-top: 8px;
          .left {
            float: left;
            display: none;
            .hover-img {
              display:block;
              img{
                width: 76px;
                height: 76px;
              }
            }
          }
          .right{
            width: 100%;
            float: left;
            span {
              display: block;
              overflow: hidden;
              white-space: nowrap;
            }
            .game-name {
              float: left;
              width: 60%;
              padding-left: 18px;
              background: url("../img/li.png") no-repeat 2px center;
              line-height: 32px;
              font-size: 16px;
              a {
                color: #333;
              }

            }
            .game-type {
              float: right;
              width: 20%;
              text-align: center;
              line-height: 32px;
              font-size: 14px;
              a {
                color: #b2b2b2;
              }
            }
            .game-heat {
              display: none;
              font-size: 14px;
              color: #b2b2b2;
              em {
                color: #ff0000;
              }
            }
          }
        }
        .hover {
          padding-bottom: 8px;
          border-bottom: 1px dashed #e8e8e8;
          .left {
            display: block;
          }
          .right{
            width: 60%;
            padding-left: 14px;
            .game-name {
              float: none;
              width: 100%;
              padding: 0;
              background: none;
              font-weight: bold;
            }
            .game-type {
              float: none;
              width: 100%;
              text-align: left;
              line-height: 22px;
            }
            .game-heat {
              display: block;
              line-height: 22px;
            }
          }
        }
        }
    }
  }
}

